<!DOCTYPE html>
<html lang="en">
  <head>
    <title>RAMAnimatedTabBarController Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Class/RAMAnimatedTabBarController" class="dashAnchor"></a>
    <a title="RAMAnimatedTabBarController Class Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">RAMAnimatedTabBarDemo Docs</a> (100% documented)</p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">RAMAnimatedTabBarDemo Reference</a>
        <img id="carat" src="../img/carat.png" />
        RAMAnimatedTabBarController Class Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/RAMAnimatedTabBarController.html">RAMAnimatedTabBarController</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMAnimatedTabBarItem.html">RAMAnimatedTabBarItem</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMBounceAnimation.html">RAMBounceAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMFrameItemAnimation.html">RAMFrameItemAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMFumeAnimation.html">RAMFumeAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMItemAnimation.html">RAMItemAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMRotationAnimation.html">RAMRotationAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMTransitionItemAnimations.html">RAMTransitionItemAnimations</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>RAMAnimatedTabBarController</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">RAMAnimatedTabBarController</span><span class="p">:</span> <span class="kt">UITabBarController</span></code></pre>

                </div>
              </div>
            <p>UITabBarController with item animations</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <div class="task-name-container">
                <a name="/life%20circle"></a>
                <a name="//apple_ref/swift/Section/life circle" class="dashAnchor"></a>
                <a href="#/life%20circle">
                  <h3 class="section-name">life circle</h3>
                </a>
              </div>
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarControllercFT7nibNameGSqSS_6bundleGSqCSo8NSBundle__S0_"></a>
                    <a name="//apple_ref/swift/Method/init(nibName:bundle:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarControllercFT7nibNameGSqSS_6bundleGSqCSo8NSBundle__S0_">init(nibName:bundle:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns a newly initialized view controller with the nib file in the specified bundle.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">override</span> <span class="nf">init</span><span class="p">(</span><span class="n">nibName</span> <span class="nv">nibNameOrNil</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span> <span class="n">bundle</span> <span class="nv">nibBundleOrNil</span><span class="p">:</span> <span class="kt">NSBundle</span><span class="p">?)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>nibNameOrNil</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The name of the nib file to associate with the view controller. The nib file name should not contain any leading path information. If you specify nil, the nibName property is set to nil.</p>

                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>nibBundleOrNil</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The bundle in which to search for the nib file. This method looks for the nib file in the bundle&rsquo;s language-specific project directories first, followed by the Resources directory. If this parameter is nil, the method uses the heuristics described below to locate the nib file.</p>

                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>A newly initialized RAMAnimatedTabBarController object.</p>

                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarControllercFT15viewControllersGSaCSo16UIViewController__S0_"></a>
                    <a name="//apple_ref/swift/Method/init(viewControllers:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarControllercFT15viewControllersGSaCSo16UIViewController__S0_">init(viewControllers:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns a newly initialized view controller with the nib file in the specified bundle.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">viewControllers</span><span class="p">:</span> <span class="p">[</span><span class="kt">UIViewController</span><span class="p">])</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>viewControllers</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Sets the root view controllers of the tab bar controller.</p>

                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>A newly initialized RAMAnimatedTabBarController object.</p>

                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarControllercFT5coderCSo7NSCoder_GSqS0__"></a>
                    <a name="//apple_ref/swift/Method/init(coder:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarControllercFT5coderCSo7NSCoder_GSqS0__">init(coder:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns a newly initialized view controller with the nib file in the specified bundle.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">required</span> <span class="kd">public</span> <span class="nf">init</span><span class="p">?(</span><span class="n">coder</span> <span class="nv">aDecoder</span><span class="p">:</span> <span class="kt">NSCoder</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>coder</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>An unarchiver object.</p>

                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>A newly initialized RAMAnimatedTabBarController object.</p>

                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarController19changeSelectedColorFTCSo7UIColor17iconSelectedColorS1__T_"></a>
                    <a name="//apple_ref/swift/Method/changeSelectedColor(_:iconSelectedColor:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarController19changeSelectedColorFTCSo7UIColor17iconSelectedColorS1__T_">changeSelectedColor(_:iconSelectedColor:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Change selected color for each UITabBarItem</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">changeSelectedColor</span><span class="p">(</span><span class="nv">textSelectedColor</span><span class="p">:</span><span class="kt">UIColor</span><span class="p">,</span> <span class="nv">iconSelectedColor</span><span class="p">:</span><span class="kt">UIColor</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>textSelectedColor</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>set new color for text</p>

                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>iconSelectedColor</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>set new color for icon</p>

                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarController21animationTabBarHiddenFSbT_"></a>
                    <a name="//apple_ref/swift/Method/animationTabBarHidden(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarController21animationTabBarHiddenFSbT_">animationTabBarHidden(_:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Hide UITabBarController</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">animationTabBarHidden</span><span class="p">(</span><span class="nv">isHidden</span><span class="p">:</span><span class="kt">Bool</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>isHidden</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A Boolean indicating whether the UITabBarController is displayed</p>

                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarController14setSelectIndexFT4fromSi2toSi_T_"></a>
                    <a name="//apple_ref/swift/Method/setSelectIndex(from:to:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo27RAMAnimatedTabBarController14setSelectIndexFT4fromSi2toSi_T_">setSelectIndex(from:to:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Selected UITabBarItem with animaton</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">setSelectIndex</span><span class="p">(</span><span class="n">from</span> <span class="nv">from</span><span class="p">:</span> <span class="kt">Int</span><span class="p">,</span> <span class="nv">to</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>from</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Index for unselected animation</p>

                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>to</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Index for selected animation</p>

                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2016 <a class="link" href="" target="_blank" rel="external">AlexKalinkin</a>. All rights reserved. (Last updated: 2016-06-10)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.5.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
